package com.itheima.stock.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.Date;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Builder
public class StockOuterMarketIndexInfoDomain {
    private String name;


    private BigDecimal curPoint;

    private BigDecimal upDown;
    private BigDecimal rose;

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm")
    private Date curTime;

}
